<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="../../../css/bootstrap.css">
    <script src="../../../js/jquery-3.2.1.min.js"></script>
    <script src="../../../js/bootstrap.js"></script>
</head>
<body>
<script>
    function buttonSubmit() {
        var inputText = document.getElementById("inputText");
        location.href = "${pageContext.request.contextPath}/opinion/ideaSubmit.do?" +
            "userName=${userName}&companyId=${companyId}&companyName=${companyName}&idea=" + inputText.value;
    }
</script>
<div id="main">

    <!--上-->
    <div>
        <div  id="titleFont">
            <span class="glyphicon glyphicon-envelope"></span> 用户意见反馈
        </div>
        <div id="br">
        </div>
    </div>

    <!--中-->
    <div class="form-group">
        <label for="exampleInputEmail1"><p class="bg-primary">电子邮件</p></label>
        <input type="email" class="form-control" id="exampleInputEmail1" placeholder="请输入您的邮件地址">
    </div>

    <!--下-->
    <div id="bodyAndFoot2">
        <label for="exampleInputEmail1"><p class="bg-danger">反馈内容</p></label>
        <div>
            <textarea id="inputText" class="form-control" rows="12" placeholder="请输入您在工作中遇到的困难，我们将及时进行协调"></textarea>
        </div>

        <br>
        <br>
        <div class="col-xs-10"></div>
        <button type="button" class="btn btn-danger btn-lg" onclick="buttonSubmit()">
            <span class="glyphicon glyphicon-hand-right"></span>
            提 交
            <span class="glyphicon glyphicon-hand-left"></span>
        </button>

    </div>

</div>
</body>

</html>